/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bean;

/**
 *
 * @author Quang Thao
 */
public class Book_TypeBean {
    String ID;
    String Name;
    String Status;
    
    public Book_TypeBean()
    {
        ID = null;
        Name = null;
        Status = null;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String Status) {
        this.Status = Status;
    }
    
    public String getStatusMean()
    {
        return ((Status.equals("Open")) ? "Còn bán" : "Hết bán");
    }
}
